#include<bits/stdc++.h>
using namespace std;
int main(){
    //freopen("color.in",r,"color.in")
    //freopen("color.out",w,"color.out")
    cout<<1<<endl;
    cout<<0<<endl;
    cout<<8<<endl;
    return 0;
}
